package com.sykj.manage.service.imp;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sykj.manage.dao.SysUserDao;
import com.sykj.manage.service.SysUserService;
import com.sykj.manage.model.SysUser;
import com.sykj.manage.model.Sys_User;
/**
 * 
 * @author 高志远
 *2018年9月13日下午3:43:19
 *用户表[sys_user业务逻辑
 */
@Service
public class SysUserServiceImpl implements SysUserService{
	
	@Autowired
	SysUserDao sysuserdao;

	@Override
	public List<SysUser> FindUsers(SysUser sysUser) {
		// TODO Auto-generated method stub
		return sysuserdao.FindUsers(sysUser);
	}

	@Override
	public int addUser(SysUser sysUser) {
		// TODO Auto-generated method stub
		return sysuserdao.addUser(sysUser);
	}

	@Override
	public int delUsers(Object[] user_id) {
		// TODO Auto-generated method stub
		return sysuserdao.delUsers(user_id);
	}

	@Override
	public SysUser findUserById(String user_id) {
		// TODO Auto-generated method stub
		return sysuserdao.findUserById(user_id);
	}

	@Override
	public int updUser(SysUser sysUser) {
		// TODO Auto-generated method stub
		return sysuserdao.updUser(sysUser);
	}

	@Override
	public SysUser getUserName(SysUser sysUser) {
		// TODO Auto-generated method stub
		return sysuserdao.getUserName(sysUser);
	}
		
}
